home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 44
/
Aminet 44 (2001)(GTI - Schatztruhe)[!][Aug 2001].iso
/
Tools
/
PNG_dt
/
Install-PNG
< prev
next >
Wrap
Text File
|
1996-02-21
|
1KB
|
46 lines
; $VER: InstallPNG 1.0
; Cloanto PNG DataType Installer Script
; Copyright © 1995 Cloanto Italia srl
; Cloanto is a registered trademark of Cloanto Italia srl
; "Installer and Installer project icon Copyright © 1991-1993 Commodore-Amiga, Inc. All Rights Reserved
; Reproduced and distributed under license from Commodore"
; New installer icon design Copyright © 1994 Cloanto Italia srl
(if (< (/ (getversion "icon.library" (resident)) 65536) 39) (message "\nDataTypes require Amiga OS 3.0 or higher."))
(if (AND (>= (+ (database "cpu")) 68020) (= (exists "Classes/DataTypes/png.datatype.020") 1))
(set png_datatype "png.datatype.020")
(set png_datatype "png.datatype")
)
(working "Installing PNG DataType")
(if (<> (exists "SYS:Classes") 2) (makedir "SYS:Classes" (infos)) )
(copyfiles
(prompt "Copying Format Descriptor")
(help @copyfiles-help)
(source "Devs/DataTypes")
(dest "DEVS:DataTypes")
(all)
(infos)
(optional "nofail" "force")
(confirm)
)
(copylib
(prompt "Copying PNG DataType")
(help @copylib-help)
(source (tackon "Classes/DataTypes" png_datatype))
(dest "SYS:Classes/DataTypes")
(newname "png.datatype")
(optional "nofail" "force")
(confirm)
)
(run "C:AddDataTypes QUIET REFRESH")
(message "\nInstallation complete.\n\nDouble-click on \"Test.png\" to test.")
(exit (quiet))